SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c31445e4a6a12a8aefdc0bdd54985298a436f394c5291e6682c7e32800782fc' 
  AND token = 'WJKwb2ddyrQHv0Uk5zdRxACiuUrRh+As1VPgVv6FCb4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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