SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '02bced56a98811dc398140df76a12a0478810223721fe1023d0866a0c049b08f' 
  AND token = 'i6adRKNemYeROOta3tKDhs/aFmW4aKDDF4D4NbzZFFQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00056

JSON explain

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