SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8d0246f0161430d54d032de7240dca46add0b4187cc5a8ea96486db2fa228c43' 
  AND token = 'DQOX1C/IIHzpDgTEeLUFThDdahGbX+meL/mO79cdhvU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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