SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '77caf122ac63e74d4844bfcf2d7f2fe49e4c6ff55ea8d4ba6d5a930295bd5247' 
  AND token = 'QKxEMPCfkQGge4LF6oU0Jw8JdCO+lJbs6KdtrX1D0ys=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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