SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afb90ba397c6206b1104692530e6091fac40b222356ad2b221496d61838a004b' 
  AND token = 'uUQ+CJpp0c1JVtZgyICZEHjqYAT5f+CZjpxtbhYm1pY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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