SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '298fb20178112c8e8f74df38f577530e108a932ab2cc7898ae429fbb42ecd7ea' 
  AND token = '2R0Qcvfx7SsI3xhnEEI/LhyBrK/zlmVBMdxG8/oaGjI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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