SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '37bf07b41e2136d1f116de3d0d29dd3f56c2d56af4fe4862787699287085a3b6' 
  AND token = '5p0j8bEIN2AcGfooeJKxKphHcb16/WETHZQv4vtd0KU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}