SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40fca627c22beaf852514f66a5176de97211edc8f46f6c2e4111885002996213' 
  AND token = 'z3Te/t8nTzJZPEI6aPONJynQQLprxCXD4GHsStEcvoU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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