SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '35acc2a6c7431d0405b220bf8453d96696295e299c145c6f76392185604379fe' 
  AND token = 'BcHzXMswd8T1YUd9CPjEtJc+yNuf8p3Hkw8mr0js+3o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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