SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5360afb2e41a967948cad235ea8c98c9c4ddfb63251722aff34d46df7defe67a' 
  AND token = 'JWByO1ZL83wxf43uem6fLdd5s2XdqdXde33jSfNypBs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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