SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ae328bfbcfedb4227b85e2825f251d579b8369a558111cc41800cc7ce582c228' 
  AND token = 'DioUPhnu6U+xWHGZ7bfsIRn7MSJ/PVMrkxhfV8fQXR0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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