SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba3d6766efd6a3c3c8627a867c60b847555e82febd7c5013f25affb6e0255565' 
  AND token = 'hoope6KDV+fx5yEqFW0CnIUWuowPddKlIl7UekYngmA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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