SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ca9e48cb2c85fc37849eabda989de8b9fc0cc2ad060d113fbaa2b4ff47d9a8fc' 
  AND token = 'eeg8T0HlX6wBoMyjwpyBKXYZZawt2OTJwh709K2fPRM=' 
  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"
    }
  }
}