SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ac339f9c2dfde5d8e0bf109babff866773b99957aaad4d0d01e8c1dc5341b86' 
  AND token = '1fvfKYGhFgO6TiAO05O82xpu3tRnpbGgfi40nWoDUKQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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