SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31bacebe5963a14df3bc9152c69abbb61a54bd447f43d4f2c94855645498410b' 
  AND token = '+p4vukuOPea968Wn2Z5snMYbVV2/wH4sdeqm5Me4QfQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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