SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9a5e972acc96bc12740630c3fac70e3283876a211e22374ba7e653fc5b1fd415' 
  AND token = 'B132Wol4qKnqP1ZzLKg9d4CFCaamuUiX89dHixN7gBM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}