SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '746dce3d926085fc1bc1d81c71e48444a2baa01fc9a7233259214b4e060dd11e' 
  AND token = 'deztj1dkJP9zvNpDZVN2VejDea+26zlV2P4xJNoCVWY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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