SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c1477b35f03774e5148f44cecc89ebdf214270cdd132f1a9cead03d4a1ec59db' 
  AND token = 'Ghid6aidixaQZQizUbXEWOu0vvSyQD3E+BEOuJtOY64=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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