SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '794369ad3a3beafd43d27bd6192c34d6da83219f0c240d536aa5812dbf5dcccd' 
  AND token = 'Fj7pAKyMygn+ikb2cjwin9HPN+NBTTxG850E1t0albY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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