SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c97b066a8de85321abe1bf1171eaffada2c8643b1ea32df5a84e41feaf01cc0e' 
  AND token = 'p9tFwuDUPFMnkqPnfZj7Gw+ybm5oa9nfdBufIng2vL4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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