SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1494a6cc42c1e868d9c6f592fc84ffba68972c25801700298571ea0746c99708' 
  AND token = 'cLvmdw1zwKErTR4ufptWzEThqHw344BrxRsQznsvOM8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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