SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '39fbe6ec58876ae2ddd892ad0e1465fb19db6ce9a00467479717da0bf788d500' 
  AND token = 'JFmKSPnNLKOP4Hxf7S+RcMTCZ4uUnfVjTgmHU4UYXdU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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