SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8cc425da1823cca917b6f6e630811186160288436c0946ff5274d54c81bc7dcd' 
  AND token = 'HvUmCimmh5gq9ehgovPsG3WpKPOI8M9JQjO2WQ1xsh8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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