SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '34fe74980dad6dd87d30f40c47eba36eb6b6b1fe121ffcb9f9ef4bcb4f79bc0d' 
  AND token = 'sn0g8llH4P3NTbqwPrj9fXPJIesi/bmGHgjo280HZYw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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