SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd22bc7c51ec0ca70d4a67afdfbd296c062aa8361973b149538502678cfc0473b' 
  AND token = 'HTbJ+B2wh01X3m9dCU2vaU/Xs4AHdfIdNoKcsn/C/Kk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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