SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '874b202fd6ea17745011d931245fcbe1741080625ef89c45d8b14cd5dd0947f3' 
  AND token = '1Y082mzLLbeYsetS67BfG1dFqB4Rc5/jb32bADaLkv8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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