SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24a327cabf4a6ab5374224dc3aa09dd7fef83712bfac3f6117d189413b072e1b' 
  AND token = 'pt4aKAwcEI7qIxd91bRx7meUCcGlRUTCE9RU+5TwM3A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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