SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ccc5c035db3242670ca99a3cd361992a11de2ad820d359f99df5f791c5b91585' 
  AND token = 'Bi9q3kNq5QwDFcZ5qN6K2dQF9D7vp7/9HZVTkMJoEu8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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