SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '79860ddcfe8e8a05b77ae696a1bdcc6eca91fc4fcbc2e23b192cdec8470c93ff' 
  AND token = 'KFJbDhh0327Y7BClo6iOhiUWgplsYeJx2OWra/U9Yfc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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