SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '646ed3d1e2e339bfb1a4eafe0babf33336ab4cc169fae5e9b0cad8e20c3d0652' 
  AND token = 'jhhsZ1ggV99wvegSwxC2VBG8omkDP8itoqQA397DH+0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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