SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7804652d9ad28c395db8fd40989a9d25cddd4c4d539f293c8cfb95d881462e35' 
  AND token = 'B89Bfz0feM/WZuJ9ZVgo/dAZipJ5F6SrvvBkzN80X4w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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